import { convertToLabelValueList } from '../utils'
export const ARCHIVES_STATE = {
	INVESTIGATE: "0",
	CLOSECASE: "1",
};

export const ARCHIVES_STATE_NAMES = {
	[ARCHIVES_STATE.INVESTIGATE]: "未归档",
	[ARCHIVES_STATE.CLOSECASE]: "已归档",
};


export const ARCHIVES_TYPE = {
	SIMPLE: 0,
	COMMONLY: 1,
	SLIGHT: 2,
}
export const ARCHIVES_TYPE_NAMES = {
	[ARCHIVES_TYPE.SIMPLE]: "简易程序",
	[ARCHIVES_TYPE.COMMONLY]: "一般程序",
	[ARCHIVES_TYPE.SLIGHT]: "轻微火灾",
};

export const ARCHIVES_TYPE_LIST = convertToLabelValueList(ARCHIVES_TYPE, ARCHIVES_TYPE_NAMES)


export const ARCHIVES_FIRE_CLASSIFY = {
	SIMPLE: 0,
	COMMONLY: 1,
	SLIGHT: 2,
}

export const ARCHIVES_FIRE_CLASSIFY_NAMES = {
	[ARCHIVES_FIRE_CLASSIFY.SIMPLE]: "损失金额30万以下的，且无纠纷，无放火的可以作为简易调查",
	[ARCHIVES_FIRE_CLASSIFY.COMMONLY]: "损失金额较大的，有影响的上级领导批示的，且双方或者多方有较大经济纠纷的、涉及放火的、且原因不明的应做一般程序调查",
	[ARCHIVES_FIRE_CLASSIFY.SLIGHT]: "不涉及经营性场所的、不涉及保险理赔的",
};

export const ARCHIVES_FIRE_CLASSIFY_LIST = convertToLabelValueList(ARCHIVES_FIRE_CLASSIFY, ARCHIVES_FIRE_CLASSIFY_NAMES)

export const ARCHIVES_EXPLODE = {
	NO: 0,
	IS: 1
}

export const ARCHIVES_EXPLODE_NAMES = {
	[ARCHIVES_EXPLODE.NO]: "否",
	[ARCHIVES_EXPLODE.IS]: "是"
};

export const ARCHIVES_EXPLODE_LIST = convertToLabelValueList(ARCHIVES_EXPLODE, ARCHIVES_EXPLODE_NAMES)































export const mapModules = {
	1: {
		path: 'add',
		title: ''
	},
	2: {
		path: 'add',
		title: '询问笔录'
	},
	3: {
		path: 'inventory',
		title: '提取清单'
	},
	4: {
		path: 'inquest',
		title: '勘验笔录'
	},
	5: {
		path: 'add',
		title: ''
	},
	6: {
		path: 'add',
		title: ''
	},
	10: {
		path: 'loss',
		title: '损失清单'
	},
	11: {
		path: 'add',
		title: '证据材料'
	},
	12: {
		path: 'add',
		title: ''
	},
	13: {
		path: 'add',
		title: ''
	},
	14: {
		path: 'minorFire',
		title: '事故认定书'
	},
}
